Carbon


PBGetVolSync

Header: Files.h Carbon status: Unsupported

Determines the default volume and default directory.

OSErr PBGetVolSync (
    ParmBlkPtr paramBlock
);
paramBlock

A pointer to a basic File Manager parameter block.

function result

A result code.

DISCUSSION

The relevant fields of the parameter block are:

If a default directory was set with a previous call to PBSetVolSync, a pointer to its name is returned in ioNamePtr and its working directory reference number is returned in ioVRefNum. However, if, in a previous call to HSetVol (or PBHSetVolSync), a working directory reference number was passed in, PBGetVolSync returns a volume reference number in the ioVRefNum field.

AVAILABILITY

Not supported in Carbon. Not available in Carbon.

CARBON NOTES

Obsolete. Use PBHGetVolSync instead.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)